home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
program
/
gemxx19.zoo
/
gem++19
/
include
/
gemfw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-01
|
2KB
|
66 lines
/////////////////////////////////////////////////////////////////////////////
//
// GEMformwindow
//
// A GEMformwindow is a GEMwindow with a GEMform as its contents.
//
// This file is Copyright 1992,1993 by Warwick W. Allison.
// This file is part of the gem++ library.
// You are free to copy and modify these sources, provided you acknowledge
// the origin by retaining this notice, and adhere to the conditions
// described in the file COPYING.LIB.
//
/////////////////////////////////////////////////////////////////////////////
#ifndef GEMfw_h
#define GEMfw_h
#include <gemfb.h>
#include <gemf.h>
#include <gemsw.h>
#include <bool.h>
#include <gemfast.h>
class GEMformwindow : public GEMwindow, public GEMform
{
public:
GEMformwindow(GEMactivity& in, const GEMrsc& in, int RSCindex);
GEMformwindow(GEMactivity& in, const GEMrsc& in, int RSCindex, int Parts);
GEMformwindow(const GEMformwindow&);
virtual void Top(const GEMevent&);
virtual GEMfeedback Click(const GEMevent&);
virtual void RedrawObject(int RSCindex);
virtual void RedrawObject(int RSCindex,int Cx,int Cy,int Cw,int Ch); // Clipped
virtual void AlignObject(int RSCindex, int xmult=8, int ymult=1);
virtual bool IsOpen() const;
bool RubberWidth();
bool RubberHeight();
void RubberWidth(bool yes);
void RubberHeight(bool yes);
void Rubber(bool yes);
virtual GRect* FirstClip(int RSCobject);
virtual GRect* NextClip(GRect* prev);
virtual int VLineAmount();
virtual int HColumnAmount();
protected:
virtual bool ScrollByBlitting() const;
virtual void SetWorkRect( const GRect& );
virtual void HFlushSlider();
virtual void VFlushSlider();
virtual void Redraw(const GRect&);
private:
void Edit(int Object, int Char);
bool rubberwidth,rubberheight;
};
#endif